home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / demos / r-z / stormc-demo / include / clib / cardres_protos.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  2KB  |  59 lines

  1. #ifndef  CLIB_CARDRES_PROTOS_H
  2. #define  CLIB_CARDRES_PROTOS_H
  3.  
  4. /*
  5. **    $VER: cardres_protos.h 1.2 (8.9.92)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  EXEC_RESIDENT_H
  18. #include <exec/resident.h>
  19. #endif
  20. #ifndef  RESOURCES_CARD_H
  21. #include <resources/card.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. struct CardHandle *OwnCard( struct CardHandle *handle );
  29. void ReleaseCard( struct CardHandle *handle, unsigned long flags );
  30. struct CardMemoryMap *GetCardMap( void );
  31. BOOL BeginCardAccess( struct CardHandle *handle );
  32. BOOL EndCardAccess( struct CardHandle *handle );
  33. UBYTE ReadCardStatus( void );
  34. BOOL CardResetRemove( struct CardHandle *handle, unsigned long flag );
  35. UBYTE CardMiscControl( struct CardHandle *handle,
  36.     unsigned long control_bits );
  37. ULONG CardAccessSpeed( struct CardHandle *handle, unsigned long nanoseconds );
  38. LONG CardProgramVoltage( struct CardHandle *handle, unsigned long voltage );
  39. BOOL CardResetCard( struct CardHandle *handle );
  40. BOOL CopyTuple( struct CardHandle *handle, UBYTE *buffer,
  41.     unsigned long tuplecode, unsigned long size );
  42. ULONG DeviceTuple( UBYTE *tuple_data, struct DeviceTData *storage );
  43. struct Resident *IfAmigaXIP( struct CardHandle *handle );
  44. BOOL CardForceChange( void );
  45. ULONG CardChangeCount( void );
  46. ULONG CardInterface( void );
  47.  
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51.  
  52. #ifdef STORMPRAGMAS
  53. #ifndef _INCLUDE_PRAGMA_CARDRES_LIB_H
  54. #include <pragma/cardres_lib.h>
  55. #endif
  56. #endif
  57.  
  58. #endif     /* CLIB_CARDRES_PROTOS_H */
  59.